<h2>ニュース一覧</h2>

<div id="newsBox">

<table cellspacing="0" cellpadding="20">
<tr>
<th style="border-color:#cc0000; border-width:2px; border-style:solid;">
タイトル</th>

<th style="border-color:#cc0000; border-width:2px; border-style:solid;">
記事</th>

<th style="border-color:#cc0000; border-width:2px; border-style:solid;">
投稿時間</th>

</tr>

<?php foreach($news_arr as $v):?>
<tr>
<td><?php echo $v->getTitle();?></td>
<td><?php echo $v->getArticle();?></td>
<td><?php echo $v->getCreatedAt();?></td>
</tr>

<?php endforeach;?>

</table>

</div>

<br>
